import request from '@/utils/request'
//获取用户信息
export const getUserInfo = (token) => {
  return request.get('/admin/acl/index/info',token)
} 
//用户登陆
export const userLogin = (loginParams) => {
 return request.post('/admin/acl/index/login', loginParams)
} 
//用户退出
export const userLogout = () => {
  return request.post('/admin/acl/index/logout')
} 